home *** CD-ROM | disk | FTP | other *** search
/ Amiga Plus 1995 #5 & #6 / Amiga Plus CD - 1995 - No. 5 and 6.iso / pd / daten / xmgr / examples / logistic.d < prev    next >
Text File  |  1995-02-05  |  17KB  |  599 lines

  1. # ACE/gr parameter file
  2. #
  3. #
  4. @page 95
  5. @page inout 5
  6. @link page off
  7. @with string
  8. @    string on
  9. @    string loctype view
  10. @    string .142857142857, .339256865913
  11. @    string linewidth 1
  12. @    string color 1
  13. @    string rot 0
  14. @    string font 4
  15. @    string just 0
  16. @    string char size 1.000000
  17. @string def "Non-linear curve fitting:"
  18. @with string
  19. @    string on
  20. @    string loctype view
  21. @    string .142857142857, .306946688207
  22. @    string linewidth 1
  23. @    string color 1
  24. @    string rot 0
  25. @    string font 4
  26. @    string just 0
  27. @    string char size 1.000000
  28. @string def "The function above is a sample from a logistic curve defined as"
  29. @with string
  30. @    string on
  31. @    string loctype view
  32. @    string .142857142857, .273021001616
  33. @    string linewidth 1
  34. @    string color 1
  35. @    string rot 0
  36. @    string font 4
  37. @    string just 0
  38. @    string char size 1.000000
  39. @string def "y=1/(1+exp(-(x-a0)/a1))  for x in [-10,20] with a0=5 and a1=3."
  40. @with string
  41. @    string on
  42. @    string loctype view
  43. @    string .142857142857, .24071082391
  44. @    string linewidth 1
  45. @    string color 1
  46. @    string rot 0
  47. @    string font 4
  48. @    string just 0
  49. @    string char size 1.000000
  50. @string def "To fit the parameters a0 and a1, open Edit/Transformations/Non-linear"
  51. @with string
  52. @    string on
  53. @    string loctype view
  54. @    string .142857142857, .208400646204
  55. @    string linewidth 1
  56. @    string color 1
  57. @    string rot 0
  58. @    string font 4
  59. @    string just 0
  60. @    string char size 1.000000
  61. @string def "curve fitting. Enter items as requested, use initial guesses of a0=1 and"
  62. @with string
  63. @    string on
  64. @    string loctype view
  65. @    string .142857142857, .176090468498
  66. @    string linewidth 1
  67. @    string color 1
  68. @    string rot 0
  69. @    string font 4
  70. @    string just 0
  71. @    string char size 1.000000
  72. @string def "a1=1 - make sure the item '# of parameters' is 2. For the function,"
  73. @with string
  74. @    string on
  75. @    string loctype view
  76. @    string .142857142857, .143780290792
  77. @    string linewidth 1
  78. @    string color 1
  79. @    string rot 0
  80. @    string font 4
  81. @    string just 0
  82. @    string char size 1.000000
  83. @string def "use the definition above i.e., y=1/(1+exp(-(x-a0)/a1)). Press Apply."
  84. @with g0
  85. @g0 on
  86. @g0 label off
  87. @g0 hidden false
  88. @g0 type xy
  89. @g0 autoscale type AUTO
  90. @g0 fixedpoint off
  91. @g0 fixedpoint type 0
  92. @g0 fixedpoint xy 0.000000, 0.000000
  93. @g0 fixedpoint format general general
  94. @g0 fixedpoint prec 6, 6
  95. @    default linestyle 1
  96. @    default linewidth 1
  97. @    default color 1
  98. @    default char size 1.000000
  99. @    default font 2
  100. @    default font source 0
  101. @    default symbol size 1.000000
  102. @    world xmin -10
  103. @    world xmax 20
  104. @    world ymin 0
  105. @    world ymax 1
  106. @    view xmin 0.147870
  107. @    view xmax 0.852130
  108. @    view ymin 0.468498
  109. @    view ymax 0.848142
  110. @    title ""
  111. @    title font 4
  112. @    title size 1.500000
  113. @    title color 1
  114. @    title linewidth 1
  115. @    subtitle ""
  116. @    subtitle font 4
  117. @    subtitle size 1.000000
  118. @    subtitle color 1
  119. @    subtitle linewidth 1
  120. @    s0 type xy
  121. @    s0 symbol 0
  122. @    s0 symbol size 1.000000
  123. @    s0 symbol fill 0
  124. @    s0 symbol center false
  125. @    s0 symbol char 0
  126. @    s0 skip 0
  127. @    s0 linestyle 1
  128. @    s0 linewidth 1
  129. @    s0 color 1
  130. @    s0 fill 0
  131. @    s0 fill with color
  132. @    s0 fill color 0
  133. @    s0 fill pattern 0
  134. @    s0 errorbar type BOTH
  135. @    s0 errorbar length 1.000000
  136. @    s0 errorbar linewidth 1
  137. @    s0 errorbar linestyle 1
  138. @    s0 errorbar riser on
  139. @    s0 errorbar riser linewidth 1
  140. @    s0 errorbar riser linestyle 1
  141. @    s0 xyz 0.000000, 0.000000
  142. @    s0 comment "logistic.d"
  143. @    xaxis  tick on
  144. @    xaxis  tick major 10
  145. @    xaxis  tick minor 5
  146. @    xaxis  tick offsetx 0.000000
  147. @    xaxis  tick offsety 0.000000
  148. @    xaxis  tick alt off
  149. @    xaxis  tick min 0
  150. @    xaxis  tick max 1
  151. @    xaxis  label ""
  152. @    xaxis  label layout para
  153. @    xaxis  label place auto
  154. @    xaxis  label char size 1.000000
  155. @    xaxis  label font 4
  156. @    xaxis  label color 1
  157. @    xaxis  label linewidth 1
  158. @    xaxis  ticklabel on
  159. @    xaxis  ticklabel type auto
  160. @    xaxis  ticklabel prec 1
  161. @    xaxis  ticklabel format decimal
  162. @    xaxis  ticklabel layout horizontal
  163. @    xaxis  ticklabel skip 0
  164. @    xaxis  ticklabel stagger 0
  165. @    xaxis  ticklabel op bottom
  166. @    xaxis  ticklabel sign normal
  167. @    xaxis  ticklabel start type auto
  168. @    xaxis  ticklabel start 0.000000
  169. @    xaxis  ticklabel stop type auto
  170. @    xaxis  ticklabel stop 0.000000
  171. @    xaxis  ticklabel char size 1.000000
  172. @    xaxis  ticklabel font 4
  173. @    xaxis  ticklabel color 1
  174. @    xaxis  ticklabel linewidth 1
  175. @    xaxis  tick major on
  176. @    xaxis  tick minor on
  177. @    xaxis  tick default 6
  178. @    xaxis  tick in
  179. @    xaxis  tick major color 1
  180. @    xaxis  tick major linewidth 1
  181. @    xaxis  tick major linestyle 1
  182. @    xaxis  tick minor color 1
  183. @    xaxis  tick minor linewidth 1
  184. @    xaxis  tick minor linestyle 1
  185. @    xaxis  tick log off
  186. @    xaxis  tick size 1.000000
  187. @    xaxis  tick minor size 0.500000
  188. @    xaxis  bar off
  189. @    xaxis  bar color 1
  190. @    xaxis  bar linestyle 1
  191. @    xaxis  bar linewidth 1
  192. @    xaxis  tick major grid off
  193. @    xaxis  tick minor grid off
  194. @    xaxis  tick op both
  195. @    xaxis  tick type auto
  196. @    xaxis  tick spec 0
  197. @    yaxis  tick on
  198. @    yaxis  tick major .2
  199. @    yaxis  tick minor .1
  200. @    yaxis  tick offsetx 0.000000
  201. @    yaxis  tick offsety 0.000000
  202. @    yaxis  tick alt off
  203. @    yaxis  tick min 0
  204. @    yaxis  tick max 1
  205. @    yaxis  label ""
  206. @    yaxis  label layout para
  207. @    yaxis  label place auto
  208. @    yaxis  label char size 1.000000
  209. @    yaxis  label font 4
  210. @    yaxis  label color 1
  211. @    yaxis  label linewidth 1
  212. @    yaxis  ticklabel on
  213. @    yaxis  ticklabel type auto
  214. @    yaxis  ticklabel prec 1
  215. @    yaxis  ticklabel format decimal
  216. @    yaxis  ticklabel layout horizontal
  217. @    yaxis  ticklabel skip 0
  218. @    yaxis  ticklabel stagger 0
  219. @    yaxis  ticklabel op left
  220. @    yaxis  ticklabel sign normal
  221. @    yaxis  ticklabel start type auto
  222. @    yaxis  ticklabel start 0.000000
  223. @    yaxis  ticklabel stop type auto
  224. @    yaxis  ticklabel stop 0.000000
  225. @    yaxis  ticklabel char size 1.000000
  226. @    yaxis  ticklabel font 4
  227. @    yaxis  ticklabel color 1
  228. @    yaxis  ticklabel linewidth 1
  229. @    yaxis  tick major on
  230. @    yaxis  tick minor on
  231. @    yaxis  tick default 6
  232. @    yaxis  tick in
  233. @    yaxis  tick major color 1
  234. @    yaxis  tick major linewidth 1
  235. @    yaxis  tick major linestyle 1
  236. @    yaxis  tick minor color 1
  237. @    yaxis  tick minor linewidth 1
  238. @    yaxis  tick minor linestyle 1
  239. @    yaxis  tick log off
  240. @    yaxis  tick size 1.000000
  241. @    yaxis  tick minor size 0.500000
  242. @    yaxis  bar off
  243. @    yaxis  bar color 1
  244. @    yaxis  bar linestyle 1
  245. @    yaxis  bar linewidth 1
  246. @    yaxis  tick major grid off
  247. @    yaxis  tick minor grid off
  248. @    yaxis  tick op both
  249. @    yaxis  tick type auto
  250. @    yaxis  tick spec 0
  251. @    altxaxis  tick on
  252. @    altxaxis  tick major .5
  253. @    altxaxis  tick minor .25
  254. @    altxaxis  tick offsetx 0.000000
  255. @    altxaxis  tick offsety 0.000000
  256. @    altxaxis  tick alt off
  257. @    altxaxis  tick min 0
  258. @    altxaxis  tick max 1
  259. @    altxaxis  label ""
  260. @    altxaxis  label layout para
  261. @    altxaxis  label place auto
  262. @    altxaxis  label char size 1.000000
  263. @    altxaxis  label font 4
  264. @    altxaxis  label color 1
  265. @    altxaxis  label linewidth 1
  266. @    altxaxis  ticklabel off
  267. @    altxaxis  ticklabel type auto
  268. @    altxaxis  ticklabel prec 1
  269. @    altxaxis  ticklabel format decimal
  270. @    altxaxis  ticklabel layout horizontal
  271. @    altxaxis  ticklabel skip 0
  272. @    altxaxis  ticklabel stagger 0
  273. @    altxaxis  ticklabel op bottom
  274. @    altxaxis  ticklabel sign normal
  275. @    altxaxis  ticklabel start type auto
  276. @    altxaxis  ticklabel start 0.000000
  277. @    altxaxis  ticklabel stop type auto
  278. @    altxaxis  ticklabel stop 0.000000
  279. @    altxaxis  ticklabel char size 1.000000
  280. @    altxaxis  ticklabel font 4
  281. @    altxaxis  ticklabel color 1
  282. @    altxaxis  ticklabel linewidth 1
  283. @    altxaxis  tick major off
  284. @    altxaxis  tick minor on
  285. @    altxaxis  tick default 6
  286. @    altxaxis  tick in
  287. @    altxaxis  tick major color 1
  288. @    altxaxis  tick major linewidth 1
  289. @    altxaxis  tick major linestyle 1
  290. @    altxaxis  tick minor color 1
  291. @    altxaxis  tick minor linewidth 1
  292. @    altxaxis  tick minor linestyle 1
  293. @    altxaxis  tick log off
  294. @    altxaxis  tick size 1.000000
  295. @    altxaxis  tick minor size 0.500000
  296. @    altxaxis  bar off
  297. @    altxaxis  bar color 1
  298. @    altxaxis  bar linestyle 1
  299. @    altxaxis  bar linewidth 1
  300. @    altxaxis  tick major grid off
  301. @    altxaxis  tick minor grid off
  302. @    altxaxis  tick op both
  303. @    altxaxis  tick type auto
  304. @    altxaxis  tick spec 0
  305. @    altyaxis  tick on
  306. @    altyaxis  tick major .5
  307. @    altyaxis  tick minor .25
  308. @    altyaxis  tick offsetx 0.000000
  309. @    altyaxis  tick offsety 0.000000
  310. @    altyaxis  tick alt off
  311. @    altyaxis  tick min 0
  312. @    altyaxis  tick max 1
  313. @    altyaxis  label ""
  314. @    altyaxis  label layout para
  315. @    altyaxis  label place auto
  316. @    altyaxis  label char size 1.000000
  317. @    altyaxis  label font 4
  318. @    altyaxis  label color 1
  319. @    altyaxis  label linewidth 1
  320. @    altyaxis  ticklabel off
  321. @    altyaxis  ticklabel type auto
  322. @    altyaxis  ticklabel prec 1
  323. @    altyaxis  ticklabel format decimal
  324. @    altyaxis  ticklabel layout horizontal
  325. @    altyaxis  ticklabel skip 0
  326. @    altyaxis  ticklabel stagger 0
  327. @    altyaxis  ticklabel op left
  328. @    altyaxis  ticklabel sign normal
  329. @    altyaxis  ticklabel start type auto
  330. @    altyaxis  ticklabel start 0.000000
  331. @    altyaxis  ticklabel stop type auto
  332. @    altyaxis  ticklabel stop 0.000000
  333. @    altyaxis  ticklabel char size 1.000000
  334. @    altyaxis  ticklabel font 4
  335. @    altyaxis  ticklabel color 1
  336. @    altyaxis  ticklabel linewidth 1
  337. @    altyaxis  tick major off
  338. @    altyaxis  tick minor on
  339. @    altyaxis  tick default 6
  340. @    altyaxis  tick in
  341. @    altyaxis  tick major color 1
  342. @    altyaxis  tick major linewidth 1
  343. @    altyaxis  tick major linestyle 1
  344. @    altyaxis  tick minor color 1
  345. @    altyaxis  tick minor linewidth 1
  346. @    altyaxis  tick minor linestyle 1
  347. @    altyaxis  tick log off
  348. @    altyaxis  tick size 1.000000
  349. @    altyaxis  tick minor size 0.500000
  350. @    altyaxis  bar off
  351. @    altyaxis  bar color 1
  352. @    altyaxis  bar linestyle 1
  353. @    altyaxis  bar linewidth 1
  354. @    altyaxis  tick major grid off
  355. @    altyaxis  tick minor grid off
  356. @    altyaxis  tick op both
  357. @    altyaxis  tick type auto
  358. @    altyaxis  tick spec 0
  359. @    zeroxaxis  tick on
  360. @    zeroxaxis  tick major 10
  361. @    zeroxaxis  tick minor 5
  362. @    zeroxaxis  tick offsetx 0.000000
  363. @    zeroxaxis  tick offsety 0.000000
  364. @    zeroxaxis  tick alt off
  365. @    zeroxaxis  tick min 0
  366. @    zeroxaxis  tick max 1
  367. @    zeroxaxis  label ""
  368. @    zeroxaxis  label layout para
  369. @    zeroxaxis  label place auto
  370. @    zeroxaxis  label char size 1.000000
  371. @    zeroxaxis  label font 4
  372. @    zeroxaxis  label color 1
  373. @    zeroxaxis  label linewidth 1
  374. @    zeroxaxis  ticklabel off
  375. @    zeroxaxis  ticklabel type auto
  376. @    zeroxaxis  ticklabel prec 1
  377. @    zeroxaxis  ticklabel format decimal
  378. @    zeroxaxis  ticklabel layout horizontal
  379. @    zeroxaxis  ticklabel skip 0
  380. @    zeroxaxis  ticklabel stagger 0
  381. @    zeroxaxis  ticklabel op bottom
  382. @    zeroxaxis  ticklabel sign normal
  383. @    zeroxaxis  ticklabel start type auto
  384. @    zeroxaxis  ticklabel start 0.000000
  385. @    zeroxaxis  ticklabel stop type auto
  386. @    zeroxaxis  ticklabel stop 0.000000
  387. @    zeroxaxis  ticklabel char size 1.000000
  388. @    zeroxaxis  ticklabel font 4
  389. @    zeroxaxis  ticklabel color 1
  390. @    zeroxaxis  ticklabel linewidth 1
  391. @    zeroxaxis  tick major off
  392. @    zeroxaxis  tick minor on
  393. @    zeroxaxis  tick default 6
  394. @    zeroxaxis  tick in
  395. @    zeroxaxis  tick major color 1
  396. @    zeroxaxis  tick major linewidth 1
  397. @    zeroxaxis  tick major linestyle 1
  398. @    zeroxaxis  tick minor color 1
  399. @    zeroxaxis  tick minor linewidth 1
  400. @    zeroxaxis  tick minor linestyle 1
  401. @    zeroxaxis  tick log off
  402. @    zeroxaxis  tick size 1.000000
  403. @    zeroxaxis  tick minor size 0.500000
  404. @    zeroxaxis  bar off
  405. @    zeroxaxis  bar color 1
  406. @    zeroxaxis  bar linestyle 1
  407. @    zeroxaxis  bar linewidth 1
  408. @    zeroxaxis  tick major grid off
  409. @    zeroxaxis  tick minor grid off
  410. @    zeroxaxis  tick op both
  411. @    zeroxaxis  tick type auto
  412. @    zeroxaxis  tick spec 0
  413. @    zeroyaxis  tick on
  414. @    zeroyaxis  tick major .2
  415. @    zeroyaxis  tick minor .1
  416. @    zeroyaxis  tick offsetx 0.000000
  417. @    zeroyaxis  tick offsety 0.000000
  418. @    zeroyaxis  tick alt off
  419. @    zeroyaxis  tick min 0
  420. @    zeroyaxis  tick max 1
  421. @    zeroyaxis  label ""
  422. @    zeroyaxis  label layout para
  423. @    zeroyaxis  label place auto
  424. @    zeroyaxis  label char size 1.000000
  425. @    zeroyaxis  label font 4
  426. @    zeroyaxis  label color 1
  427. @    zeroyaxis  label linewidth 1
  428. @    zeroyaxis  ticklabel off
  429. @    zeroyaxis  ticklabel type auto
  430. @    zeroyaxis  ticklabel prec 1
  431. @    zeroyaxis  ticklabel format decimal
  432. @    zeroyaxis  ticklabel layout horizontal
  433. @    zeroyaxis  ticklabel skip 0
  434. @    zeroyaxis  ticklabel stagger 0
  435. @    zeroyaxis  ticklabel op left
  436. @    zeroyaxis  ticklabel sign normal
  437. @    zeroyaxis  ticklabel start type auto
  438. @    zeroyaxis  ticklabel start 0.000000
  439. @    zeroyaxis  ticklabel stop type auto
  440. @    zeroyaxis  ticklabel stop 0.000000
  441. @    zeroyaxis  ticklabel char size 1.000000
  442. @    zeroyaxis  ticklabel font 4
  443. @    zeroyaxis  ticklabel color 1
  444. @    zeroyaxis  ticklabel linewidth 1
  445. @    zeroyaxis  tick major off
  446. @    zeroyaxis  tick minor on
  447. @    zeroyaxis  tick default 6
  448. @    zeroyaxis  tick in
  449. @    zeroyaxis  tick major color 1
  450. @    zeroyaxis  tick major linewidth 1
  451. @    zeroyaxis  tick major linestyle 1
  452. @    zeroyaxis  tick minor color 1
  453. @    zeroyaxis  tick minor linewidth 1
  454. @    zeroyaxis  tick minor linestyle 1
  455. @    zeroyaxis  tick log off
  456. @    zeroyaxis  tick size 1.000000
  457. @    zeroyaxis  tick minor size 0.500000
  458. @    zeroyaxis  bar off
  459. @    zeroyaxis  bar color 1
  460. @    zeroyaxis  bar linestyle 1
  461. @    zeroyaxis  bar linewidth 1
  462. @    zeroyaxis  tick major grid off
  463. @    zeroyaxis  tick minor grid off
  464. @    zeroyaxis  tick op both
  465. @    zeroyaxis  tick type auto
  466. @    zeroyaxis  tick spec 0
  467. @    legend off
  468. @    legend loctype view
  469. @    legend layout 0
  470. @    legend vgap 2
  471. @    legend hgap 1
  472. @    legend length 4
  473. @    legend box off
  474. @    legend box fill off
  475. @    legend box fill with color
  476. @    legend box fill color 0
  477. @    legend box fill pattern 1
  478. @    legend box color 1
  479. @    legend box linewidth 1
  480. @    legend box linestyle 1
  481. @    legend x1 .8
  482. @    legend y1 .8
  483. @    legend font 4
  484. @    legend char size 1.000000
  485. @    legend linestyle 1
  486. @    legend linewidth 1
  487. @    legend color 1
  488. @    frame on
  489. @    frame type 0
  490. @    frame linestyle 1
  491. @    frame linewidth 1
  492. @    frame color 1
  493. @    frame fill off
  494. @    frame background color 0
  495. @WITH G0
  496. @G0 ON
  497. @TYPE xy
  498. -10.000000 0.006693
  499. -9.696970 0.007399
  500. -9.393939 0.008179
  501. -9.090909 0.009040
  502. -8.787879 0.009992
  503. -8.484848 0.011042
  504. -8.181818 0.012201
  505. -7.878788 0.013481
  506. -7.575758 0.014892
  507. -7.272727 0.016449
  508. -6.969697 0.018165
  509. -6.666667 0.020058
  510. -6.363636 0.022142
  511. -6.060606 0.024438
  512. -5.757576 0.026966
  513. -5.454545 0.029746
  514. -5.151515 0.032804
  515. -4.848485 0.036165
  516. -4.545455 0.039856
  517. -4.242424 0.043906
  518. -3.939394 0.048347
  519. -3.636364 0.053212
  520. -3.333333 0.058537
  521. -3.030303 0.064358
  522. -2.727273 0.070715
  523. -2.424242 0.077648
  524. -2.121212 0.085197
  525. -1.818182 0.093407
  526. -1.515152 0.102319
  527. -1.212121 0.111977
  528. -0.909091 0.122421
  529. -0.606061 0.133694
  530. -0.303030 0.145831
  531. 0.000000 0.158869
  532. 0.303030 0.172836
  533. 0.606061 0.187758
  534. 0.909091 0.203650
  535. 1.212121 0.220522
  536. 1.515152 0.238374
  537. 1.818182 0.257194
  538. 2.121212 0.276959
  539. 2.424242 0.297635
  540. 2.727273 0.319173
  541. 3.030303 0.341512
  542. 3.333333 0.364576
  543. 3.636364 0.388281
  544. 3.939394 0.412525
  545. 4.242424 0.437202
  546. 4.545455 0.462194
  547. 4.848485 0.487376
  548. 5.151515 0.512624
  549. 5.454545 0.537806
  550. 5.757576 0.562798
  551. 6.060606 0.587475
  552. 6.363636 0.611719
  553. 6.666667 0.635424
  554. 6.969697 0.658488
  555. 7.272727 0.680827
  556. 7.575758 0.702365
  557. 7.878788 0.723041
  558. 8.181818 0.742806
  559. 8.484848 0.761626
  560. 8.787879 0.779478
  561. 9.090909 0.796350
  562. 9.393939 0.812242
  563. 9.696970 0.827164
  564. 10.000000 0.841131
  565. 10.303030 0.854169
  566. 10.606061 0.866306
  567. 10.909091 0.877579
  568. 11.212121 0.888023
  569. 11.515152 0.897681
  570. 11.818182 0.906593
  571. 12.121212 0.914803
  572. 12.424242 0.922352
  573. 12.727273 0.929285
  574. 13.030303 0.935642
  575. 13.333333 0.941463
  576. 13.636364 0.946788
  577. 13.939394 0.951653
  578. 14.242424 0.956094
  579. 14.545455 0.960144
  580. 14.848485 0.963835
  581. 15.151515 0.967196
  582. 15.454545 0.970254
  583. 15.757576 0.973034
  584. 16.060606 0.975562
  585. 16.363636 0.977858
  586. 16.666667 0.979942
  587. 16.969697 0.981835
  588. 17.272727 0.983551
  589. 17.575758 0.985108
  590. 17.878788 0.986519
  591. 18.181818 0.987799
  592. 18.484848 0.988958
  593. 18.787879 0.990008
  594. 19.090909 0.990960
  595. 19.393939 0.991821
  596. 19.696970 0.992601
  597. 20.000000 0.993307
  598. &
  599.